From 6118893a4ea75d9f94e5e68ed1c8e0ae73442926 Mon Sep 17 00:00:00 2001 From: Garrett Regier Date: Fri, 11 Sep 2015 09:46:34 -0700 Subject: [PATCH] stylecontext: Fix list_classes() after optimization Otherwise a junk value is returned. --- gtk/gtkstylecontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c index 643a17b896..ddc0d11a69 100644 --- a/gtk/gtkstylecontext.c +++ b/gtk/gtkstylecontext.c @@ -1391,7 +1391,7 @@ GList * gtk_style_context_list_classes (GtkStyleContext *context) { GtkStyleContextPrivate *priv; - GList *classes_list; + GList *classes_list = NULL; const GQuark *classes; guint n_classes, i; const gchar *quark_str; -- 2.30.2